package cn.demoncat;

import com.influxdb.annotations.Column;
import com.influxdb.annotations.Measurement;
import lombok.Data;

/**
 * InfluxDB Measurement
 */
@Data
@Measurement(name = "user_log")
public class UserLog {

    // timestamp
    @Column(timestamp=true)
    private Long timestamp;
    // tag
    @Column(tag = true)
    private String id;
    // field
    @Column
    private String status;

}
